package com.rollCall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("no")
public class No {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long no;
    private Long classId;
    private Long studentId;
    @TableField("student_name")
    private String name;
}
